import {defineStore} from 'pinia'

export const defineSchedule = defineStore(
    'scheduleList',
    {
        state:()=>{
            return {
                itemList:[
                    {
                        sid:1,
                        uid:1,
                        title:'学习Java',
                        completed:0,
                    }
                ],
                itemList:[
                    {
                        sid:2,
                        uid:2,
                        title:'PHP',
                        completed:0,
                    }
                ],
                itemList:[
                    {
                        sid:1,
                        uid:1,
                        title:'学习Java',
                        completed:0,
                    }
                ],
            }
        }
    }
)